//---------------Add logitem to the log and store it to GM variable-------------------
function addToLog(line)
	{
		var timestamp = currentTime.getDate()+ "/" + (currentTime.getMonth()+1) + "/" +currentTime.getFullYear() +" " +currentTime.getHours() + ":" + currentTime.getMinutes()+" ";
		GM_setValue('itemLog', timestamp + line+"<br />"+GM_getValue('itemLog', ''));
	}


